<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<script type="text/javascript">
		var obj = {name:'lisi',age:29};
		var ob = {name:'lisi',age:29};
		var book = {
			title:'天龙八部',
			author:'金庸',
			role:{
				name:'虚竹',
				job:'小和尚'
			}
		}
		var dog = {
			name:'tom',
			bark: function(){
				alert('I am' + this.name);
			}
		}
		//调用
		dog.bark();
		//php中的关联数组
		array('name'=>'lisi','age'=>29);
		//Python中的字典
		{'name':'lisi','age':29};
		

	</script>
</body>
</html>